<%@ page contentType="text/html; charset=gb2312" language="java" pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>网站后台管理登录---超市会员积分管理系统</title>
    <style type="text/css">
        <!--
        .font1 {
            font-family: "宋体";
            font-size: 12px;
            line-height: 130%
        }

        a {
            font-family: "宋体";
            font-size: 12px
        }

        a:link {
            font-family: "宋体";
            font-size: 12px;
            color: #CFD1E8;
            text-decoration: underline
        }

        a:hover {
            font-family: "宋体";
            font-size: 12px;
            color: #FFCC00;
            text-decoration: none
        }

        a:visited {
            font-family: "宋体";
            font-size: 12px;
            color: #CFD1E8;
            text-decoration: underline
        }

        .input {
            font-family: "宋体";
            font-size: 12px;
            color: #FFFFFF;
            border: #4047A4;
            border-style: solid;
            border-top-width: 1px;
            border-right-width: 1px;
            border-bottom-width: 1px;
            border-left-width: 1px;
            background-color: #000077
        }

        -->
    </style>
</head>
<body background="../../static/images/xh.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
    <tr>
        <td align="center">
            <table width="380" border="0" cellspacing="0" cellpadding="0" align="center">
                <tr>
                    <td bgcolor="#4047A4" width="1"></td>
                    <td>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td height="36"><br><br>
                                    <h3>超市积分管理系统
                                    </h3></td>
                            </tr>
                        </table>
                        <form action="/admin/login" name=form1 method=post onSubmit="return checkform(form1)"
                              autocomplete="off">
                            <table width="260" border="0" cellspacing="0" cellpadding="0" align="center">

                                <tr>
                                    <td colspan="3" class="news" height="5"><input type=hidden name=method value="one"/>
                                    </td>
                                </tr>

                                <tr>
                                    <td width="5" class="nwes" height="36"></td>
                                    <td width="106" height="36">用户名</td>
                                    <td><input type="text" name="username" size="15"/></td>
                                </tr>
                                <tr>
                                    <td class="nwes" height="36">&nbsp;</td>
                                    <td height="36">口　令</td>
                                    <td><input type="password" name="password" size="15"></td>
                                </tr>

                                <tr>
                                    <td height="5" colspan="3"></td>
                                </tr>
                                <tr>
                                    <td>&nbsp;</td>
                                    <td align="center">&nbsp;</td>
                                    <td>
                                        <input type="image" border="0" name="imageField"
                                               src="../../static/images/admin/bt_login.gif" width="70" height="16">
                                    </td>
                                </tr>

                            </table>
                        </form>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td height="36">&nbsp;</td>
                            </tr>
                        </table>
                    </td>
                    <td bgcolor="#4047A4" width="1"></td>
                </tr>
            </table>

        </td>
    </tr>
</table>
</body>
</html>
<script language=Javascript>

    form1.username.focus()

    function checkform(form) {
        var flag = true;
        if (form("username").value == "") {
            alert("请输入用户名!");
            form("username").focus();
            return false
        }
        ;
        if (form("password").value == "") {
            alert("请输入口令!");
            form("password").focus();
            return false
        }
        ;

        return flag;
    }
</script>
